package cmd

type Variable struct {
	DatabaseHost     string   `yaml:"DatabaseHost"`
	DatabaseUser     string   `yaml:"DatabaseUser"`
	DatabasePassword string   `yaml:"DatabasePassword"`
	RedisHost        string   `yaml:"RedisHost"`
	RedisPassword    string   `yaml:"RedisPassword"`
	PublicIP         string   `yaml:"PublicIP"`
	LanIP            string   `yaml:"LanIP"`
	TopOrganizeId    string   `yaml:"TopOrganizeId"`
	Services         Services `yaml:"Services"`
}
type PublicWebPort struct {
	Static        int `yaml:"Static"`
	Report        int `yaml:"Report"`
	Base          int `yaml:"Base"`
	Sett          int `yaml:"Sett"`
	Cis           int `yaml:"Cis"`
	Pds           int `yaml:"Pds"`
	Emr           int `yaml:"Emr"`
	Or            int `yaml:"Or"`
	Herp          int `yaml:"Herp"`
	Mrms          int `yaml:"Mrms"`
	Mrqc          int `yaml:"Mrqc"`
	JobService    int `yaml:"JobService"`
	NoticeCenter  int `yaml:"NoticeCenter"`
	AuthCenterAPI int `yaml:"AuthCenterAPI"`
	ApiManage     int `yaml:"ApiManage"`
	HisBaseAPI    int `yaml:"HisBaseAPI"`
	Union         int `yaml:"Union"`
}
type LanWebPort struct {
	Static        int `yaml:"Static"`
	Report        int `yaml:"Report"`
	Base          int `yaml:"Base"`
	Sett          int `yaml:"Sett"`
	Cis           int `yaml:"Cis"`
	Pds           int `yaml:"Pds"`
	Emr           int `yaml:"Emr"`
	Or            int `yaml:"Or"`
	Herp          int `yaml:"Herp"`
	Mrms          int `yaml:"Mrms"`
	Mrqc          int `yaml:"Mrqc"`
	JobService    int `yaml:"JobService"`
	NoticeCenter  int `yaml:"NoticeCenter"`
	Union         int `yaml:"Union"`
	BaseAPI       int `yaml:"BaseAPI"`
	SettAPI       int `yaml:"SettAPI"`
	CisAPI        int `yaml:"CisAPI"`
	PdsAPI        int `yaml:"PdsAPI"`
	OrAPI         int `yaml:"OrAPI"`
	AuthCenterAPI int `yaml:"AuthCenterAPI"`
	ApiManage     int `yaml:"ApiManage"`
	HisBaseAPI    int `yaml:"HisBaseAPI"`
}

type Services struct {
	PublicWebPort PublicWebPort `yaml:"PublicWebPort"`
	LanWebPort    LanWebPort    `yaml:"LanWebPort"`
}
